﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectManage.Core.Dto.SYS
{
    public class QueryUserRoleDto : BaseQuery
    {
        [Comment("用户")]
        [Required, MaxLength(50)]
        public string Account { get; set; }

        [Comment("姓名")]
        public string? AccountName { get; set; }

        [Comment("角色")]
        [Required, MaxLength(50)]
        public string RoleCode { get; set; }

        [Comment("角色名称")]
        [Required, MaxLength(50)]
        public string RoleName { get; set; }
    }
}
